package com.java.lesson.lesson3;

public class Animal {
    String name;
    String gender;
    int age;
    public void eat(){
        System.out.println(name+"吃东西");
    }
    public void sleep(){
        System.out.println(name+"在睡觉");
    }

}
